package cn.njxzc.examples;

import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;

public class Exam9_7 {
	public static void main(String[] args) throws IOException {
		FileInputStream in = new FileInputStream(args[0]);
		FileOutputStream out = new FileOutputStream(args[1], true);//追加方式
		int c;
		while ((c = in.read()) != -1)
			out.write(c);
		in.close();
		out.close();
	}
}
